﻿
namespace Oddo.Concept.Crm.Repository.Common.Contracts
{
    using Newtonsoft.Json;
    using Oddo.Concept.Crm.Common.Attributes;
    using Oddo.Concept.Crm.Common.Communication.Requests;
    using Oddo.Concept.Crm.Common.Extensions;
    using Oddo.Concept.Crm.Models;

    [RequestActionName("Countries")]
    public class CountryFindRequest : FindRequest<Country>
    {
        private string _code;
        private string _name;

        public string Code
        {
            get { return _code; }
            set { _code = value; this.RaisePropertyChanged(() => Code); }
        }

        public string Name
        {
            get { return _name; }
            set { _name = value; this.RaisePropertyChanged(() => Name); }
        }
    
    }
}